#available-widgets {
    clear: left;
    float: left;
    margin-right: -325px;
    width: 100%;
}

#widgets-left {
    margin-left: 5px;
    margin-right: 325px;
}

#widget-areas {
    clear: right;
    float: right;
    width: 300px;
}

/*--------------------------------------------------------------------
// AVAILABLE WIDGETS LIST
//-------------------------------------------------------------------*/

#available-widgets > header {
    position: relative;
}

#available-widgets > header p {
    position: absolute;
    top: 6px;
    right: 0.79em;
    font-size: 15px;
    font-style: italic;
    color: #666;
    margin: 0;
}

#available-widgets p.desc {
    margin: 0 12px 12px;
    font-size: 12px;
    font-style: italic;
}

#available-widgets > ul {
    position: relative;
    margin: 0;
    list-style: none;
}

#available-widgets > ul li {
    position: relative;
    border-top: 1px dotted #ccc;
    padding: 10px;
    margin: 0;
    float: left;
    width: 45%;
}

#available-widgets > ul li:hover {
    background-color: #e6e6e6;
    cursor: move;
}

#available-widgets > ul h3 {
    float: left;
    width: 180px;
    height: 100%;
    margin-bottom: 0;
    padding-right: 20px;
    font-size: 14px;
}

#available-widgets > ul .widget-box-body {

}

#available-widgets > ul p {
    margin-bottom: 0;
    line-height: 1.5;
}

#available-widgets > ul a {
    color: #999;
}

#available-widgets > ul a:hover {
    color: #ff6400;
}

/* Drag State for Available Widgets */
#available-widgets > ul li.widget-drag {
    opacity: 0.3;
}

#available-widgets > ul li.ui-draggable-dragging {
    width: 90%;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -o-border-radius: 5px;
    border-radius: 5px;
    border: 1px solid #999;
    background: #e6e6e6;
    cursor: move;
    z-index: 500;
}

/*--------------------------------------------------------------------
// WIDGETS AREAS LIST
//-------------------------------------------------------------------*/

#widget-areas .widget-area-box > header, #widgets-left > header {
    background-color: #f2f2f2;
    border-color: #ddd;
    margin-bottom: -1px;
    width: 99.655%;
}

#widgets-left > header h3 {
    margin-left: 24px;
}

#widgets-left > header p {
    float: right;
    margin: 15px 10px 0 0;
    overflow: hidden;
}

#widget-areas .widget-area-box > header h3, #widgets-left > header h3 {
    font-size: 16px;
    display: inline-block;
    line-height: 2.45em;
}

#widget-areas .widget-area-content {
    position: relative;
}

#widget-areas .widget-area-content > div.buttons {
    position: absolute;
    right: 0;
    top: -40px;
    padding: 0.395em 0.395em 0 0;
}

#widget-areas .widget-area-content > div.buttons a.button {
    font-size: 100%;
    color: #666;
}

.widget-area-content {
    margin-bottom: -1px;
    border: 1px solid #ddd;
    overflow: hidden;

}

.widget-list .widget-box {
    background: none repeat scroll 0 0 transparent;
    border: 0 none;
    float: left;
    margin: 0 10px 15px;
    width: 45%;
}

.widget-list .widget-top {
    background-color: #F4F4F4;
    border-color: #DFDFDF;
    border-radius: 3px 3px 3px 3px;
    box-shadow: 0 1px 0 #FFFFFF inset;
    border-style: solid;
    border-width: 1px;
}

#available-widgets .widget-description {
    color: #555555;
    display: block;
    padding: 5px 8px;
    font-size: 12px;
    line-height: 16px;
}

.widget-top .widget-title {
    padding: 5px 9px;
}

.widget-title h4 {
    line-height: 1.3;
    margin: 0;
    overflow: hidden;
    white-space: nowrap;
    display: block;
    font-size: 1em;
    font-weight: bold;
}

#widget-areas .widget-area-content > code.tag {
    display: block;
    margin: 10px 20px 20px;
    text-align: center;
    color: #999;
}

/* Widget Instance */

.widget-instance {
    position: relative;
    background-color: #F4F4F4;
    border: 1px solid #c2c2c2;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -o-border-radius: 5px;
    border-radius: 5px;
    padding: 5px;
    overflow: hidden;
}

.widget-instance .in-widget-title {
    font-size: 12px;
    white-space: nowrap;
}

.widget-instance > h4 {
    line-height: 1.3;
    margin: 0;
    overflow: hidden;
    white-space: nowrap;
    display: block;
    font-size: 1em;
    font-weight: bold;
    float: left;
    width: 200px;
    marg-right: 10px;
    margin-right: 10px;
}

.widget-type {
    position: absolute;
    top: 5px;
    right: 10px;
    margin: 0;
    padding: 0;
    font-weight: bold;
    color: #fff;
    text-shadow: 1px 1px 0px #aaa;
    max-width: 30%;
    text-overflow: ellipsis;
}

.widget-actions {
    float: right;
    width: 40px;
}

.widget-actions a.button {
    font-size: 100%;
}

.widget-code {
    margin: 15px 0 10px 0;
    padding-left: 5px;
    color: #999;
}

.no-sortable,
.no-sortable li,
.no-sortable header {
    cursor: auto !important;
}

.widget-instance ol {
    margin-bottom: 0;
}

.widget-list textarea.uniform {
    width: 97% !important;
    resize: none;
}

.widget-list textarea.inline {
    width: 60% !important;
    resize: none;
}

.widget-instance form.crud label {
    text-align: left;
}

.widget-instance form.crud span.required-icon {
    display: none;
}

#add-area-box,
#edit-area-box {
    border-bottom: 1px solid #e6e6e6;
    padding: 0 10px 10px 10px;
    margin-bottom: 20px;
    -webkit-box-shadow: #DDD 0px 5px 5px;
    -moz-box-shadow: #DDD 0px 5px 5px;
    box-shadow: #DDD 0px 5px 5px;
}

#add-area-box h3,
#edit-area-box h3 {
    margin-bottom: 0;
}

#add-instance-box {
    padding: 0;
    margin-bottom: 20px;
    background-color: #fcfcfc;
    position: static;
}

#edit-instance-box {
    padding: 0;
    margin-bottom: 20px;
    background-color: #fcfcfc;
    float: none;
}

#widget-options {
    padding: 0 10px;
}

#widget-options ul {
    margin-bottom: 0;
}

.widget-area .tag, .widget-area .button {
    position: absolute;
    left: 50%;
    color: #666666;
    padding: 0 15px 0 15px;
    margin-top: 7px;
}

#widget-wrapper {
    width: 32%;
    min-width: 350px;
    margin-left: 1%;
    display: inline-block;
    float: left;
}

.widget-list ol {
    list-style-type: none;
    cursor: auto;
    padding: 0 10px;
    margin-bottom: 0;
}

.widget-list fieldset ol {
    padding: 0;
}

.widget-list fieldset li li {
    padding-left: 0;
    padding-rigth: 0;
}

.widget-list ol li {
    margin: 0 0 10px;
    cursor: move;
}

.widget-list ol input[type=text] {
    width: 19em;
}

.widget-list ol li > label {
    text-align: right;
    color: #666;
}

li.empty-drop-item {
    border: 1px dotted #666;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -o-border-radius: 5px;
    border-radius: 5px;
    height: 24px;
}

li.empty-drop-item.loading {
    background-image: url(../../../themes/admin_theme/img/admin/loading.gif);
    background-position: 50% 50%;
    background-repeat: no-repeat;
    border: none;
    padding: 15px 0;
}

.drop-hover li.empty-drop-item {
    display: block !important;
}

.box-container header h3 {
    font-size: 14px;
    padding: 6px 0;
}

.box-container h3 {
    font-size: 14px;
}

.box-container fieldset h4 {
    font-size: 13px;
    font-style: italic;
    margin: 10px 0 12px;
    text-shadow: none;
    background: #eee;
    padding: 4px 8px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

#widgets-list > tbody > tr {
    cursor: auto;
}

td span.move-handle {
    float: right;
    margin-right: 6px;
    width: 18px;
    height: 18px;
    cursor: move;
    background: url(../../../themes/admin_theme/img/icons/cursor_drag_arrow.png) no-repeat;
}

#widget-areas-list {
    margin: 0 auto;
    width: 285px;
}

.widget-list ol input[type="text"] {
    width: 97%;

}